import {
  defineComponent
} from 'vue';
import useModule from './index.module';
import HelloWorld from '@/components/helloWorld'

export default defineComponent({
  name: 'Home',
  setup() {
    const {
      page
    } = useModule();
    return () => (
      <>
        <div>
          <a href='https://vitejs.dev' target='_blank'>
            <img src='/vite.svg' class='logo' alt='Vite logo' />
          </a>
          <a href='https://vuejs.org/' target='_blank'>
            <img src='./assets/vue.svg' class='logo vue' alt='Vue logo' />
          </a>
        </div>
        <HelloWorld msg='Vite + Vue' />
      </>
    )
  }
})
